package com.action.admin;

import java.util.*;
import com.db.organization.*;
import com.db.admin.*;
public class AdminDeptAction {
	private AdminDAO adminDAO;
	public void setAdminDAO(AdminDAO adminDAO) {
		this.adminDAO = adminDAO;
	}



	private List<DeptVO> list;
	public List<DeptVO> getList() {
		return list;
	}

	
	
	public String execute() throws Exception {
		list = adminDAO.DeptList();
		return "success";
	}
	
	
	
}
